package com.itgaoshu.hospitalproject.mapper;

import com.itgaoshu.hospitalproject.bean.Record;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface RecordMapper {
    List<Record> selrecord(Record record);
    @Insert("INSERT into jilu (jiluname,jilutime,jilutype,jilupeople,jilupihao,jilunumber) VALUES\n" +
            "(#{jiluname},now(),#{jilutype},#{jilupeople},#{jilupihao},#{jilunumber})")
    Integer addjilu(Record record);
}
